package com.example.internetplus.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum JobEnum {
    doctor(1,"医生"),
    patient(2,"患者");


    @EnumValue
    private final Integer value;
    @JsonValue
    private final String desc;
    JobEnum(Integer value, String desc){
        this.value = value;
        this.desc = desc;
    }
}
